package com.sdl3;

public class Input {

    private static final boolean[] keys = new boolean[512];
    
    public static void update(int key, boolean isPressed) {
        keys[key] = isPressed;
    }

    public static boolean isKeyPressed(int key) {
        return keys[key];
    }
}